package prioritys

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ PrioritysModel = (*customPrioritysModel)(nil)

type (
	// PrioritysModel is an interface to be customized, add more methods here,
	// and implement the added methods in customPrioritysModel.
	PrioritysModel interface {
		prioritysModel
	}

	customPrioritysModel struct {
		*defaultPrioritysModel
	}
)

// NewPrioritysModel returns a model for the database table.
func NewPrioritysModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) PrioritysModel {
	return &customPrioritysModel{
		defaultPrioritysModel: newPrioritysModel(conn, c, opts...),
	}
}
